/* --- Glass utilities --- */
.glass {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.glass-hover:hover { background: rgba(255,255,255,0.10); }

.round-xl { border-radius: 16px; }
.p-6 { padding: 24px; }
.mb-8 { margin-bottom: 32px; }
.space-y-4 > * + * { margin-top: 16px; }


/* CTA button that matches system */
.cta-btn {
  display: inline-block;
  background: #ff3259;
  color: #fff;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  padding: 12px 16px;
}

.cta-btn:hover {
  filter: brightness(1.05);
}

@media (max-width: 768px) {
  .cta-btn {
    font-size: 13px;
    padding: 6px 8px;
    width: 100%;
    margin-top: 12px;
  }
}


/* --- Badge system (replace bg-blue-500 etc) --- */
.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.guidebadge { font-size: 20px; }

.guidebadgetitle {
  font-size: 40px;
  width: 100%;
  text-align: center;
}

/* --- Badge colors --- */
.badge-blue    { background:#3b82f6; }
.badge-indigo  { background:#6366f1; }
.badge-violet  { background:#8b5cf6; }
.badge-purple  { background:#a855f7; }
.badge-fuchsia { background:#d946ef; }
.badge-pink    { background:#ec4899; }
.badge-rose    { background:#f43f5e; }

.badge-red     { background:#ef4444; }
.badge-orange  { background:#f97316; }
.badge-amber   { background:#f59e0b; }
.badge-yellow  { background:#eab308; }

.badge-lime    { background:#84cc16; }
.badge-green   { background:#22c55e; }
.badge-emerald { background:#10b981; }
.badge-teal    { background:#14b8a6; }
.badge-cyan    { background:#06b6d4; }

.badge-sky     { background:#0ea5e9; }
.badge-slate   { background:#64748b; }
.badge-gray    { background:#6b7280; }


/* --- Coming Soon layout --- */
.comingsoon-item {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    box-shadow 0.18s ease;
}

.comingsoon-text { flex: 1; min-width: 240px; }

.comingsoon-title { margin: 6px 0 4px; font-size: 20px; color: var(--ink); }
.comingsoon-subtitle { margin: 0; color: rgba(255,255,255,0.7); font-size: 14px; }

.comingsoon-item:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.comingsoon-item:active {
  transform: scale(1.01);
}


/* --- Student Guide layout --- */
.guide-item {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    box-shadow 0.18s ease;
}

.guide-text { flex: 1; min-width: 240px; }

.guide-title { margin: 6px 0 4px; font-size: 20px; color: var(--ink); }
.guide-subtitle { margin: 0; color: rgba(255,255,255,0.7); font-size: 18px; }

.guide-item:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.guide-item:active { transform: scale(1.01); }

.guide-index {
  margin: 12px 0 0;
  padding-left: 18px;
  text-align: left;
}

.guide-index > li {
  margin: 12px 0;
  font-weight: 600;
  font-size: 25px;
  text-align: center;
}

.guide-index ul {
  list-style: none;
  padding-left: 16px;
  margin-top: 6px;
}

.guide-index ul li {
  position: relative;
  padding-left: 14px;
  margin: 6px 0;
  font-weight: 400;
  font-size: 20px;
}

.guide-index ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 2px;
  background: rgba(255,255,255,0.6);
}

.guide-section {
  scroll-margin-top: 200px; /* adjust based on header height */
}


/* --- Headline style --- */
main > h1 {
  font-size: 3rem;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  text-align: center;
}


/* --- Modern root tweaks used on pages --- */
body.sc-modern-root{
  --header:#fff;
}

body.sc-modern-root main > h1 { color: #ff3259; }

body.sc-modern-root .header-section nav ul li a:hover{
  background: rgba(15, 20, 29,.8);
  text-decoration: none;
}

body.sc-modern-root .event-calendar tbody tr:hover td{
  background: rgba(255,255,255,.06);
}


/* ===============================
   MOBILE (single clean block, preserves working hamburger layout)
   =============================== */
@media (max-width: 768px) {

  /* spacing + typography */
  .p-6 { padding: 16px; }
  .mb-8 { margin-bottom: 24px; }
  .space-y-4 > * + * { margin-top: 12px; }

  .glass {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  main > h1 {
    font-size: 2rem;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    text-align: center;
  }

  .badge { font-size: 12px; padding: 5px 9px; }
  .guidebadge { font-size: 16px; }
  .guidebadgetitle { font-size: 32px; }

  .comingsoon-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .comingsoon-text { min-width: 100%; }

  .comingsoon-title { font-size: 18px; line-height: 1.3; }
  .comingsoon-subtitle { font-size: 13px; }

  .guide-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .guide-text { min-width: 100%; }

  .guide-title { font-size: 18px; line-height: 1.3; }
  .guide-subtitle { font-size: 16px; }

  .guide-section { scroll-margin-top: 120px; }

  /* IMPORTANT: keep desktop header hidden on mobile */
  .header-section { display: none; }

  /* Mobile Header */
  .mobile-header {
    background-color: #ffffff;
    color: white;
    height: 60px; /* Important: Mobile Header Height */
  }

  .mobile-header h1 {
    font-size: 1.25rem;
    margin: 0;
    flex-grow: 1;
    text-align: left;
    padding-right: 1rem;
  }

  .mobile-header a{
    color: white;
    text-decoration: none;
    padding: 0;
    border-top: 0;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .mobile-header a img{
    height: 55px;
    width: auto;
    display: block;
  }

  .hamburger {
  font-size: 1.75rem;
  color: #000;
  }

  .mobile-menu {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    flex-direction: column;
    background-color: #330909;
    position: fixed;
    top: 3.5rem;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    text-align: center;
  }
  /* Mobile Dropdown Menu */
  .mobile-menu {
    background-color: #330909;
    top: 3.5rem;
  }

  .mobile-menu.show {
    max-height: 450px;
  }

  .mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 10px;
    border-top: 1px solid #654857;
    height: 50px;
  }
  /* Match specificity to override lounge-modern.css without !important */
  body.sc-modern-root .mobile-menu a {
    color: #ff3259;
    font-weight: 700;
    border-top: 1px solid #654857;
  }

  body.sc-modern-root .mobile-menu a:hover {
    color: #000;
    background: rgba(15, 20, 29,.8);
  }


}


/* ============================
   DESKTOP ONLY: left logo + not :D right-aligned nav
   ============================ */
@media (min-width: 769px) {

  .header-section {
    display: flex;
    align-items: center;

    /* IMPORTANT: side padding so header doesn't grow tall */
    padding: 0.75rem 1.5rem;


    min-height: 70px; /* Important: Desktop Header Height */

  }
/*
  .header-section nav{
    margin-left: 50px;
  }
 */
  .header-section .desktop-logo {
    display: flex;
    align-items: center;
    height: 65px;     /* controls logo height */
    flex: 0 0 auto;
    padding: 0;
  }

  .header-section .desktop-logo img {
    height: 100%;
    width: auto;
    display: block;
  }


}

@media (min-width: 1300px) {

  .header-section {

    /* IMPORTANT: side padding so header doesn't grow tall */
    padding: 0.75rem 1.5rem;


    height: 70px; /* Important: Desktop Header Height */

  }


  /*
    .header-section nav{
      margin-left: 120px;
    }


  .header-section .desktop-logo {
    display: flex;
    align-items: center;
    height: 65px;     /* controls logo height
    flex: 0 0 auto;
    padding: 0;
  }

  .header-section .desktop-logo img {
    height: 100%;
    width: auto;
    display: block;
  }
*/

  }

  @media (min-width: 769px) {

    .header-section{
      display: flex;
      align-items: center;
      padding: 0.75rem 1.5rem;
      min-height: 70px;
    }

    /* logo stays fixed */
    .header-section .desktop-logo{
      display: flex;
      align-items: center;
      height: 65px;
      flex: 0 0 auto;
    }

    /* nav becomes the flexible middle area */
    .header-section nav{
      flex: 1 1 auto;           /* <-- key */
      display: flex;            /* makes centering easier */
      justify-content: center;  /* <-- centers the UL block */
    }

    /* center the buttons */
    .header-section nav ul{
      justify-content: center;  /* keep your original feel */
      margin: 0;
    }
  }


/* ============================
   Floating Quick Nav (Top / Index / Home)
   ============================ */

/* Smooth anchor jumps */
html { scroll-behavior: smooth; }

.quick-nav{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1200; /* above menus/headers */
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Button style matches your “pill / badge” vibe */
.quick-nav__btn{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;

  text-decoration: none;
  font-weight: 900;
  font-size: 18px;

  /* keep it compatible with your palette */
  background: #ff3259;
  color: #fff;

  box-shadow: 0 10px 22px rgba(0,0,0,0.22);
  transition: transform .12s ease, filter .12s ease;
}

.quick-nav__btn:hover{
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.quick-nav__btn:active{
  transform: translateY(0px) scale(.98);
}

/* Mobile: keep it thumb-friendly */
@media (max-width: 768px){
  .quick-nav{
    right: 12px;
    bottom: 12px;
  }
  .quick-nav__btn{
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
}

.guide-index {
  scroll-margin-top: 200px; /* adjust based on header height */
}

@media (max-width: 769px) {

.guide-index { scroll-margin-top: 120px; }
}


:root {
  --desktop-header-height: 70px;
  --mobile-header-height: 60px;
}

body {
  padding-top: var(--desktop-header-height);
}

@media (min-width: 768px) {
  main {
    margin: 0rem auto;
    padding: 0rem;
  }
}
/* === MAIN CONTENT === */


.social-icons {
  margin-top: 1rem;
  margin-bottom: 1rem;

  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icons a {
  font-size: 40px;
  width:65px;
  height:65px;
  border-radius: 100%;
  padding: 0rem;

}
@media (max-width: 769px) {
  .social-icons {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;

    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }

  .social-icons a {
    font-size: 30px;
    width:48.75px;
    height:48.75px;
    border-radius: 100%;
    padding: 0rem;

  }
}

.paragraph-box hr {
  border: none;                 /* remove browser default */
  height: 2px;                  /* line thickness */
  background-color: #ff3259;    /* my pink */
  margin: 1.5rem 0;             /* spacing */
}

/* ------------------------------
   Guide – References formatting
-------------------------------- */

.guide-references{
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.guide-references li{
  margin-bottom: 16px;
  padding-left: 24px;
  text-indent: -24px; /* hanging indent */
  line-height: 1.6;
}

/* prevent long DOI links from breaking mobile layout */
.guide-references a,
.guide-text a{
  overflow-wrap: anywhere;
  word-break: break-word;
}
